/**
 * 
 */
package com.isaac.actm.domain.pojo;

import java.util.Date;

/**
 * @author ybak
 * 
 */
public class Product {
    private Long id; // orm
    private String name;
    private String serialNumber;
    private String unit;
    private Integer quantity;
    private String description;
    private Category category;
    private String image;
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Product [id=" + id + ", name=" + name + ", unit=" + unit + ", serialNumber=" + serialNumber
                + ", quantity=" + quantity + ", category=" + category + ", description=" + description
                + ", createTime=" + createTime + ", image=" + image + "]";
    }
}
